package com.hornsun.config;

import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

import java.util.ArrayList;
import java.util.List;

/**
 * Created by 编译中... on 2018/5/25.
 */
@Component
@ConfigurationProperties(prefix = "intercept")
public class ConfigListInfo {
    private List<String> web = new ArrayList<String>();

    private List<String> permission = new ArrayList<>();

    public List<String> getWeb() {
        return web;
    }

    public void setWeb(List<String> web) {
        this.web = web;
    }

    public List<String> getPermission() {
        return permission;
    }

    public void setPermission(List<String> permission) {
        this.permission = permission;
    }

    @Override
    public String toString() {
        return "ConfigListInfo{" +
                "web=" + web +
                ", permission=" + permission +
                '}';
    }
}
